* {
    margin: 0;
    padding: 0;
}

body {
    background-color: black;
}

/*这一句是用来解决在安卓上的点击出现篮框问题*/
body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*下面是解决ios上去除微信点击蓝色边框 */
a:focus,
input:focus,
p:focus,
div:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-modify: read-write-plaintext-only;
}

.header{
    text-align: center;
    font-size: 35px;
    font-weight: bolder;
    margin-top:50px ;
    color:white;
}

.main {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    margin-top: 30px;
}

/* 木鱼棒 */
.stick {
    position: absolute;
    top: 75px;
    width: 150px;
    height: 150px;
    background: url('img/stick.png') no-repeat;
    background-size: contain;
    transform: rotate(-18deg);
    transform-origin: 10px 50px;
    cursor: pointer;
}

.move {
    animation: move 0.2s linear alternate;
}

.auto_move {
    animation: move 0.5s linear alternate infinite;
}

.quick_move {
    animation: move 0.1s linear alternate infinite;
}

@keyframes move {
    0% {
        transform: rotate(-30deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

/* 木鱼 */
.muyu {
    position: absolute;
    top: 100px;
    left: 40px;
    width: 180px;
    height: 180px;
    background: url('./img/muyu.png') no-repeat;
    background-size: contain;
    transition: 0.2s;
    cursor: pointer;
}

.muyuscale{
    animation: scale 0.2s linear;;
}

@keyframes scale{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(0.85);
    }
}

.music {
    display: none;
}

/* 自动开关 */
.control {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 150px;;
}

.auto_name {
    color: white;
    font-size: 18px;
    padding-right: 5px;
}

.auto {
    width: 18px;
    height: 18px;
    margin-right: 20px;
}

.speedup_name {
    color: white;
    font-size: 18px;
    padding-right: 5px;
}

.speedup {
    width: 18px;
    height: 18px;
}

/* 计数器 */
.count {
    display: flex;
    line-height: 40px;
    margin: 0 auto;
    margin-top: 80px;
    color: white;
    font-size: 18px;
    justify-content: center;
}

.num {
    color: #07ff41;
    font-size: 26px;
}

#tips {
    position: absolute;
    color: #ffffff;
    font-size: 18px;
    top: 230px;
    left: 55%;
    opacity: 0;
    transition: top 0.5s;
}

.tips_animation{
    animation: tips 0.3s linear;
}
@keyframes tips{
    0%{
        opacity: 0;
        top: 230px;
    }
    1%{
        opacity: 1;
    }
    100%{
        top: 110px;
        opacity: 0;
    }
}
